#!/usr/bin/env bash

yum install -y git
git clone https://gitee.com/guguo33/elk-install.git
cd elk-install/docker
mv docker-compose-v7.1.1.yml docker-compose.yml
sudo sysctl -w vm.max_map_count=262144
docker-compose up -d